import type { ActionProps } from "~/types/enum";

export enum SpconfApi {
  GetList = "api/Spconf/GetList",
  AddorUpdate = "api/Spconf/AddorUpdate",
  CheckData = "api/Spconf/CheckName",
  Delete = "api/Spconf/Delete",
  Reduction = "api/Spconf/Reduction",
  GetDetail = "api/Spconf/GetListb"
}
export class SpconfAction {
  actionPros: ActionProps = {
    addCode: "SpconfAdd",
    deleteCode: "SpconfDelete",
    updateCode: "SpconfUpdate",
    queryCode: "SpconfGetList",
    importCode: "",
    exportCode: "SpconfExport",
    downImportCode: "",
    reductionCode: "SpconfReduction",
    recyclebinCode: "SpconfRecyclebin"
  };
}
export interface SpconfInfo {
  sCode: string;
  sName: string;
  sValue: string;
}
